#pragma once

#include "BallType.h"

class item
{
private:
	BallType::Type bType;
	sf::Vector2f position;
	sf::Vector2f direction;
	float velocity;
	float curr_angle;
	bool dead;
	bool animate;
public:
	void load(BallType::Type bType,sf::Vector2f pos,sf::Vector2f dir,float vel);
	bool step();
	void draw();
	sf::Vector2f getPosition();
	void setPosition(sf::Vector2f pos) { position = pos; animate = false; }
	
	BallType::Type getBallType();
};